package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.DrugFactory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.drugfactory.DrugFactoryAddReqDTO;
import com.yixin.hospital.entity.dto.req.drugfactory.DrugFactoryEditReqDTO;

import javax.validation.Valid;

/**
* @author Administrator
* @description 针对表【drug_factory(药品生产厂家表)】的数据库操作Service
* @createDate 2024-05-13 14:47:49
*/
public interface DrugFactoryService extends IService<DrugFactory> {

    ApiResult<?> add(@Valid DrugFactoryAddReqDTO drugFactoryAddReqDTO, String userName);

    ApiResult<?> edit(@Valid DrugFactoryEditReqDTO drugFactoryEditReqDTO, String userName);
}
